#include<stdio.h>
#include "file.h"
void  readFile(){
	printf("开始读取文件:\n");
	FILE *fp;
	char ch;
	if((fp=fopen("data.txt","rt"))==NULL){
		printf("Cannot open file strike any key exit!");
		getch();
		//exit(1);
	}
	//fgetc读字符函数
	ch=fgetc(fp);
	while (ch!=EOF)
	{
	putchar(ch);
	ch=fgetc(fp);
	}
	fclose(fp);

}